<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
     <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<%@ page import="java.util.List"%><%@ page import="java.util.Arrays"%>
<%@ page import="java.sql.*"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Create Location</title>
<style type="text/css">
body {
	background-color: #FFE4E1;
}
</style>
</head>
<body>
<center><h1><b>LOCATION HOME PAGE</b></h1></center><br/>


<form action="LocationCreate.jsp">
<center>
<h1><input type="submit" value=" Create New Topic"/></h1>
</center>
</form>

 
<table>
<tr>
<td><b>LOC ID</b></td>
<td><b>CITY</b></td>
<td><b>STATE</b></td>
<td><b>DESCRIPTION</b></td>
<td></td>
</tr>

<c:forEach items="${a}" var="i">

<tr>
<td>
${i.loc_code}
</td>
<td> ${i.city}
  </td>
<td>
${i.state} 
</td>

<td>
${i.desc}
</td>
<td><a href="/EventManagementSystem/LocationModifyServlet?loc_code=${i.loc_code}">modify this location</a></td>

</tr>

</c:forEach>


</table>

</html>